referendary of Lithuania — type of judge in the Grand Duchy of Lithuania