Dimitrii I cannot be sure which a/c you refer to but I know that the British Aerospace Jetsreams had such a configuration. They are twin turbo props and the larger J41 has 29 or 30, depending on the airline.
As I recall, the a/c was usually entered at the front and had a 1+2 seating layout. The read door was used for loading catering more than pax. The loo door did indeed open out to block the rear part of the cabin and some other parts of it all folded and tucked away as a clever solution.