The Beggar Student (1956)
The Beggar Student is a 1956 German musical film directed by Werner Jacobs and starring Gerhard Riedmann, Waltraut Haas and Elma Karlowa. It is based on the operetta Der Bettelstudent by Karl Millöcker. After a Polish aristocrat refuses to marry a Colonel, he manouvres to force her to marry a peniless student in revenge.
More at Wikipedia.